import { IRouteComponentProps } from 'umi'
import Layout from './layouts'
import "./global.less"

const Layouts: React.FC<IRouteComponentProps> = (props) => {
        return <>
                {
                        props.location.pathname == '/login'||props.location.pathname == '/registry' ? <>{props.children}</> : <Layout>{props.children}</Layout>
                }
              
        </>
}
export default Layouts;  